<?php

/*
 * Controller corresponsive to view Inicio
 * @author konda
 */
class panel extends CI_Controller{
    //put your code here
    
    public function __construct() {
        parent::__construct();
    }
    
    
    public function Index()
    {
        
       $data['menu_header']=  $this->menu_header();
       $data['menu_left']  =  $this->menu_left();
       
       //header
       $this->load->view('template/header.php',$data);
       //content
       $this->load->view('template/content.php',$data);
       //footer
       $this->load->view('template/footer.php');
        
    }
    
    
    /**
     * Menu Header 
     * @return string
     */
    public function menu_header()
    {
        
       $menu_header= "<div id=\"header\">
            <div class=\"gbes\">
            <ul class=\"gbtc\">
                <li class=\"gbt\">
                    <a class=\"gb\" >
                        <span class=\"gbtgb2\"></span>
                        <span class=\"gbts\">Inicio</span></a>
                </li>
                <li class=\"gbt\">
                    <a class=\"gb\" >
                        <span class=\"gbtgb2\"></span>
                        <span class=\"gbts\">Mapas</span></a>
                </li>
            </ul>
             </div>
            <div class=\"gbx1\"></div>
            </div>";
       
       return $menu_header;
    }
    
    
    public function menu_left()
    {
        $menu_left= "<div id=\"leftCol\">
                <ul>
                    <li> Proyecto </li>
                    <li> Departamento </li>
                    <li> Localidad </li>
                    <li> Municipio </li>
                    <li> Obras </li>
                        
                </ul>
            </div>";
        return $menu_left;
              
    }
    
  
}

?>
